package com.zy.mobile.message.push.netty.heartbeat.domain;

import java.util.Date;

public class Message {
	
	private byte type;//消息类型 1 心跳 2 新订单 3 用户取消 
	
	private int orderId;//订单id
	
	private int courierId;//快递员id
	
	private int userId;//用户id
	
	private long timeStamp;//消息发送的时间戳
	
	public byte getType() {
		return type;
	}



	public void setType(byte type) {
		this.type = type;
	}



	public int getOrderId() {
		return orderId;
	}



	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}



	public int getCourierId() {
		return courierId;
	}



	public void setCourierId(int courierId) {
		this.courierId = courierId;
	}



	public int getUserId() {
		return userId;
	}



	public void setUserId(int userId) {
		this.userId = userId;
	}



	public long getTimeStamp() {
		return timeStamp;
	}



	public void setTimeStamp(long timeStamp) {
		this.timeStamp = timeStamp;
	}



	public static void main(String[] args) {
		int x = 2147483647;
		System.out.println(x);
		String phone = "18611896561";
		System.out.println(phone.getBytes().length);
		Date date = new Date();
	}
}
